package io.keen.client.java;

class Environment {
    Environment() {
    }

    public String getKeenProjectId() {
        return getValue("KEEN_PROJECT_ID");
    }

    public String getKeenWriteKey() {
        return getValue("KEEN_WRITE_KEY");
    }

    public String getKeenReadKey() {
        return getValue("KEEN_READ_KEY");
    }

    private String getValue(String name) {
        return (String) System.getenv().get(name);
    }
}
